package com.wnxy.sddfp.bank.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试：服务提供者，客户端集成sentinel做限流
 */
@RestController
@RequestMapping("/bank")
public class TestBankController {

    @GetMapping("{bankId}")
    public String findBankByIdTest(@PathVariable("bankId") Integer bankId) {
        return "bankId:" + bankId;
    }
}